[INFO] cloning repository https://github.com/Noah-Kennedy/data_structures
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Noah-Kennedy/data_structures" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoah-Kennedy%2Fdata_structures", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoah-Kennedy%2Fdata_structures'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a649cc7d69a397d7ac7bd381f94acfd30cfe198e
[INFO] building Noah-Kennedy/data_structures against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNoah-Kennedy%2Fdata_structures" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Noah-Kennedy/data_structures on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Noah-Kennedy/data_structures
[INFO] finished tweaking git repo https://github.com/Noah-Kennedy/data_structures
[INFO] tweaked toml for git repo https://github.com/Noah-Kennedy/data_structures written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/Noah-Kennedy/data_structures already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 16dd9752db8a6d0f92150089f29871db3dd56ae1d9e80385a78f8585b3838519
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "16dd9752db8a6d0f92150089f29871db3dd56ae1d9e80385a78f8585b3838519", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "16dd9752db8a6d0f92150089f29871db3dd56ae1d9e80385a78f8585b3838519", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "16dd9752db8a6d0f92150089f29871db3dd56ae1d9e80385a78f8585b3838519", kill_on_drop: false }`
[INFO] [stdout] 16dd9752db8a6d0f92150089f29871db3dd56ae1d9e80385a78f8585b3838519
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 51c2051b2f542682a836c5684b029b97a681f631800e57f91b90f2332d93b56b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "51c2051b2f542682a836c5684b029b97a681f631800e57f91b90f2332d93b56b", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling data_structures v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/lists/linked_list.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | /         loop {
[INFO] [stdout] 20 | |             match iterator {
[INFO] [stdout] 21 | |                 None => {
[INFO] [stdout] 22 | |                     let new_node = ListNode {
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | |             }
[INFO] [stdout] 33 | |         }
[INFO] [stdout]    | |_________- any code following this expression is unreachable
[INFO] [stdout] 34 | 
[INFO] [stdout] 35 |           true
[INFO] [stdout]    |           ^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/lists/linked_list.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let result = true;
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/lists/linked_list.rs:13:38
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn insert(&mut self, element: E, index: u64) -> bool {
[INFO] [stdout]    |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/lists/linked_list.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn get(&self, index: u64) -> Option<E> {
[INFO] [stdout]    |                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/lists/linked_list.rs:42:23
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn set(&mut self, index: u64, new_value: E) -> bool {
[INFO] [stdout]    |                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_value`
[INFO] [stdout]   --> src/lists/linked_list.rs:42:35
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn set(&mut self, index: u64, new_value: E) -> bool {
[INFO] [stdout]    |                                   ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/lists/linked_list.rs:46:26
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn remove(&mut self, index: u64) -> bool {
[INFO] [stdout]    |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.head` which is behind a mutable reference
[INFO] [stdout]   --> src/lists/linked_list.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut iterator = self.head;
[INFO] [stdout]    |                            ^^^^^^^^^
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            move occurs because `self.head` has type `&mut Option<ListNode<'_, E>>`, which does not implement the `Copy` trait
[INFO] [stdout]    |                            help: consider borrowing here: `&self.head`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]   --> src/lists/linked_list.rs:23:37
[INFO] [stdout]    |
[INFO] [stdout] 11 |   impl<'a, E> super::List<'a, E> for LinkedList<'a, E> {
[INFO] [stdout]    |        -- lifetime `'a` defined here
[INFO] [stdout] ...
[INFO] [stdout] 22 |                       let new_node = ListNode {
[INFO] [stdout]    |  ____________________________________-
[INFO] [stdout] 23 | |                         next: & mut None,
[INFO] [stdout]    | |                                     ^^^^ creates a temporary which is freed while still in use
[INFO] [stdout] 24 | |                         value: element
[INFO] [stdout] 25 | |                     };
[INFO] [stdout]    | |_____________________- assignment requires that borrow lasts for `'a`
[INFO] [stdout] 26 |                       self.head = &mut Some(new_node);
[INFO] [stdout] 27 |                   },
[INFO] [stdout]    |                   - temporary value is freed at the end of this statement
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `element`
[INFO] [stdout]   --> src/lists/linked_list.rs:24:32
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn insert(&mut self, element: E, index: u64) -> bool {
[INFO] [stdout]    |                          ------- move occurs because `element` has type `E`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 24 |                         value: element
[INFO] [stdout]    |                                ^^^^^^^ value moved here, in previous iteration of loop
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]   --> src/lists/linked_list.rs:26:38
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<'a, E> super::List<'a, E> for LinkedList<'a, E> {
[INFO] [stdout]    |      -- lifetime `'a` defined here
[INFO] [stdout] ...
[INFO] [stdout] 26 |                     self.head = &mut Some(new_node);
[INFO] [stdout]    |                     -----------------^^^^^^^^^^^^^^- temporary value is freed at the end of this statement
[INFO] [stdout]    |                     |                |
[INFO] [stdout]    |                     |                creates a temporary which is freed while still in use
[INFO] [stdout]    |                     assignment requires that borrow lasts for `'a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0507, E0716.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `data_structures`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "51c2051b2f542682a836c5684b029b97a681f631800e57f91b90f2332d93b56b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51c2051b2f542682a836c5684b029b97a681f631800e57f91b90f2332d93b56b", kill_on_drop: false }`
[INFO] [stdout] 51c2051b2f542682a836c5684b029b97a681f631800e57f91b90f2332d93b56b
